/**
 * BoundSqlSqlSource.java
 * Created at 2016-03-01
 * Created by Administrator
 * Copyright (C) 2016 LLSFW, All rights reserved.
 */
package com.jsmws.core.pagequery;

import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.SqlSource;

/**
 * todo
 */
public class BoundSqlSqlSource implements SqlSource {

    /**
     * Field boundSql: sql对象
     */
    BoundSql boundSql;

    /**
     * Description: 构造函数
     *
     * @param boundSql sql对象
     */
    public BoundSqlSqlSource(BoundSql boundSql) {
        this.boundSql = boundSql;
    }

    @Override
    public BoundSql getBoundSql(Object parameterObject) {
        return this.boundSql;
    }

}
